package com.emep.changzhi.analyse.repository.basics;
import com.emep.changzhi.analyse.entity.basics.District;

import java.util.List;

/**
 * @author: LFY
 * @version:V1.0
 * @Description:
 * @Date: 2018/9/5 17:35
 */
public interface DistrictRepository extends BaseRepository<District,Long>{
    District findByDistrictId(long districtId);

    List<District> findAllByNameAndIsDelete(String name,String isDlete);

    List<District> findAllByNameAndDistrictIdNotAndIsDelete(String name, Long districtId,String isDelete);
}
